package com.forekenow.Demo8.Exercise.E8;

public class Animal {
    private String name;
    private int legs;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getLegs() {
        return legs;
    }

    public void setLegs(int legs) {
        this.legs = legs;
    }

    public void count(){

    }
    public void getCount(){

    }

    public static void main(String[] args) {
        Animal animal = new Fish();
        animal.count();
        Animal animal2 = new Tiger();
        animal2.count();
        Animal animal3 = new SouthEastTiger();
        animal3.count();
    }


}
